<?php
$title = $vars['title'];
?>

<div class="compact_title">
                        <?php
                        if ($title == '')
                            echo "<br />";
                        elseif (strlen($title) > 11)
                            echo substr($title, 0, 11) . '...';
                        else
                            echo $title;
                        ?>
                    </div>